package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋管理对象 t_building
 * 
 * @author ruoyi
 * @date 2022-10-15
 */
public class TBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 小区名字 */
    @Excel(name = "小区名字")
    private Long communityId;

    /** 楼栋 */
    @Excel(name = "楼栋")
    private String building;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    private TCommunity community;

    public TCommunity getCommunity() {
        return community;
    }

    public void setCommunity(TCommunity community) {
        this.community = community;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setBuilding(String building) 
    {
        this.building = building;
    }

    public String getBuilding() 
    {
        return building;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return "TBuilding{" +
                "id=" + id +
                ", communityId=" + communityId +
                ", building='" + building + '\'' +
                ", state='" + state + '\'' +
                ", community=" + community +
                '}';
    }
}
